package cn.edu.scau.cmi.ZengLinghong.chapter10;

import java.io.*;

public class Example10_5 {
	public static void main(String[] args) {
		byte[] a = "60".getBytes();
		byte[] b = "ʮһ".getBytes();

		try {
			FileOutputStream f = new FileOutputStream("happy.txt");
			f.write(a);
			f.write(b, 0, b.length);
			f.close();

		} catch (IOException e) {
			System.out.println("Error" + e);
		}
	}
}
